package a.f.h.d;

import a.c.d;
import a.c.m;
import a.f.h.b.e;

import java.util.ArrayList;

public class b
  extends e
{
  public static boolean t;
  
  public void b()
  {
    d();
    super.b();
    this.o = false;
  }
  
  protected void d()
  {
    int i = j.r;
    boolean bool = j.q;
    boolean[] arrayOfBoolean = this.h.t();
    m localm = this.j.w();
    label273:
    label322:
    do
    {
      if (!localm.e()) {
        break;
      }
      d locald1 = localm.a();
      if (i == 0)
      {
        if (arrayOfBoolean[locald1.d()] != 0)
        {
          d locald2 = this.i.d(this.h.a(locald1));
          if (i == 0)
          {
            if (this.h.d(locald2)) {
              locald2 = this.h.a(locald2);
            }
            if (i != 0) {}
          }
          else if (this.h.d(locald1))
          {
            locald1 = this.h.a(locald1);
          }
          ArrayList localArrayList1 = (ArrayList)this.k.get(locald1);
          ArrayList localArrayList2 = (ArrayList)this.k.get(locald2);
          this.k.a(locald1, null);
          if (i == 0) {
            if (localArrayList2 != null)
            {
              if (i != 0) {
                break label273;
              }
              if (localArrayList1 != null)
              {
                if (i == 0)
                {
                  if (this.h.d(localm.a()))
                  {
                    localArrayList2.addAll(localArrayList1);
                    this.k.a(locald2, localArrayList2);
                    if (i != 0) {
                      continue;
                    }
                    if (!bool) {
                      break label322;
                    }
                  }
                  localArrayList1.addAll(localArrayList2);
                  this.k.a(locald2, localArrayList1);
                }
                if (i != 0) {
                  continue;
                }
                if (!bool) {
                  break label322;
                }
              }
            }
          }
          if (i == 0) {
            if (localArrayList2 != null)
            {
              this.k.a(locald2, localArrayList2);
              if (i != 0) {
                continue;
              }
            }
          }
          if ((bool) && (localArrayList1 != null)) {
            this.k.a(locald2, localArrayList1);
          }
        }
        localm.f();
      }
    } while (!bool);
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.f.h.d.b

 * JD-Core Version:    0.7.0.1

 */